using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace com.dtn.deals
{
	public interface Itbl_ProductManager
	{
		int Inserttbl_Product(tbl_Product _tbl_Product);
        int Inserttbl_Tframe(tbl_Product _tbl_Product);
        bool Updatetbl_Tframe(tbl_Product _tbl_Product);
        bool Deletetbl_Tframe(int pid);
		bool Updatetbl_Product(tbl_Product _tbl_Product);
        bool Updatetbl_VoteSetProduct(int VoteSet, int ID);
		bool Deletetbl_Product(int id);
		tbl_Product Selecttbl_ProductByID(int ID);
		DataTable Selecttbl_ProductsDynamic(string Where, string Order);
        DataTable Selecttbl_ProductsWithPageDynamic(int StartIndex,int MaxRecords, string Where);
        DataTable Statistic_SelectAllDealAndPaging(int StartIndex, int MaxRecords, string Where, string WhereOrder);
	}
}
